package string;

public class ReplaceAllDemo {
    public static void main(String[] args) {
        String lan = "a1bc3de5";
        lan=lan.replaceAll("[0-9]+1","番茄鼻屎");
        System.out.println(lan);

        String str = "我操你妈的,sb吧,你妈死了啊";
        str = str.replaceAll("[(操你妈)|sb|妈死]","*");
        System.out.println(str);
    }
}